﻿using System.Data;
using MyWeb.Data;

namespace MyWeb.Business
{
    public class tb_CustomerCareService
	{
		private static readonly tb_CustomerCareDAL db = new tb_CustomerCareDAL();
		#region[tb_CustomerCare_GetById]
		public static DataTable tb_CustomerCare_GetById(tb_CustomerCareInfo Data)
		{
			return db.tb_CustomerCare_GetById(Data);
		}
		#endregion
		#region[tb_CustomerCare_GetByAll]
		public static DataTable tb_CustomerCare_GetByAll()
		{
			return db.tb_CustomerCare_GetByAll();
		}
		#endregion
		#region[tb_CustomerCare_GetByTop]
		public static DataTable tb_CustomerCare_GetByTop(string Top, string Where, string Order)
		{
			return db.tb_CustomerCare_GetByTop(Top, Where, Order);}
		#endregion
		#region[tb_CustomerCare_Insert]
		public static void tb_CustomerCare_Insert(tb_CustomerCareInfo Data)
		{
			 db.tb_CustomerCare_Insert(Data);
		}
		#endregion
		#region[tb_CustomerCare_Update]
		public static void tb_CustomerCare_Update(tb_CustomerCareInfo Data)
		{
			 db.tb_CustomerCare_Update(Data);
		}
		#endregion
		#region[tb_CustomerCare_Delete]
		public static void tb_CustomerCare_Delete(string Data)
		{
			 db.tb_CustomerCare_Delete(Data);
		}
		#endregion
        #region[tb_CustomerCare_GetByUserName]
        public static DataTable tb_CustomerCare_GetByUserName(tb_CustomerCareInfo Data)
        {
            return db.tb_CustomerCare_GetByUserName(Data);
        }
        #endregion
	}
}